package com.yidu.best.basicSetup.securityset.dao;

import java.util.List;

import com.yidu.best.basicSetup.securityset.domain.Security;
import com.yidu.best.basicSetup.securityset.domain.SecurityVo;


/**
 * 证券数据访问接口
 * @author pbb
 *
 */
public interface SecurityDao {
	/**
	 * 分页查询
	 * @param SecurityVo
	 * @return
	 */
	public List<Security> findSecurity(SecurityVo securityVo); 
	
	/**
	 * 查询数量
	 * @param SecurityVo
	 * @return
	 */
	public int findCountSecurity(SecurityVo securityVo);
	
	/**
	 * 添加
	 * @param SecurityVo
	 * @return
	 */
	public int addSecurity(Security security);
	
	/**
	 * 修改
	 * @param Security
	 * @return
	 */
	public int updateSecurity(Security security);
	
	/**
	 * 删除
	 * @param SecurityId
	 * @return
	 */
	public int deleteSecurity(String securityId);
}
